Skip to content

Conversation

@wyfo
Copy link
Contributor

@wyfo wyfo commented Jan 3, 2026

T: is a valid TypeParam, but te code was not supporting : being the last token of a ParseStream when parsing a TypeParam.

Fixes #1952

`T:` is a valid `TypeParam`, but te code was not supporting `:` being
the last token of a `ParseStream` when parsing a `TypeParam`.
Copy link
Owner

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dtolnay dtolnay merged commit 3fe4dc6 into dtolnay:master Jan 3, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeParam expect a bounds after colon

2 participants